package com.springboot.mybatis.model;

import java.io.Serializable;
import java.util.List;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class SysPermission implements Serializable{

    private static final long serialVersionUID = 1L;
    
    private Integer permissionId;//主键.
    private String permissionName;//名称.
    private String resourceType;//资源类型，[menu|button]
    private String url;//资源路径.
    private String permission; //权限字符串,menu例子：role:*，button例子：role:create,role:update,role:delete,role:view
    private Long parentId; //父编号
    private String parentIds; //父编号列表
    private Boolean available = Boolean.TRUE;
    private List<SysRole> roles;

    
}